home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Hyper / P / Pathlines XFCN v13 .cpt / PathLines XFCN v13 / cards.xml < prev    next >
Text File  |  1991-06-02  |  30KB  |  663 lines

  1. card_8862.xml
  2. <?xml version="1.0" encoding="utf-8" ?>
  3. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  4. <card>
  5.     <id>8862</id>
  6.     <filler1>0</filler1>
  7.     <bitmap>BMAP_7268.pbm</bitmap>
  8.     <cantDelete> <false /> </cantDelete>
  9.     <showPict> <true /> </showPict>
  10.     <dontSearch> <false /> </dontSearch>
  11.     <owner>2690</owner>
  12.     <link rel="stylesheet" type="text/css" href="stylesheet_3288.css" />
  13.     <part>
  14.         <id>2</id>
  15.         <type>field</type>
  16.         <visible> <true /> </visible>
  17.         <dontWrap> <false /> </dontWrap>
  18.         <dontSearch> <true /> </dontSearch>
  19.         <sharedText> <false /> </sharedText>
  20.         <fixedLineHeight> <false /> </fixedLineHeight>
  21.         <autoTab> <false /> </autoTab>
  22.         <lockText> <false /> </lockText>
  23.         <rect>
  24.             <left>137</left>
  25.             <top>47</top>
  26.             <right>389</right>
  27.             <bottom>83</bottom>
  28.         </rect>
  29.         <style>rectangle</style>
  30.         <autoSelect> <false /> </autoSelect>
  31.         <showLines> <false /> </showLines>
  32.         <wideMargins> <false /> </wideMargins>
  33.         <multipleLines> <false /> </multipleLines>
  34.         <reservedFamily> 0 </reservedFamily>
  35.         <titleWidth>0</titleWidth>
  36.         <icon>0</icon>
  37.         <textAlign>left</textAlign>
  38.         <font>Geneva</font>
  39.         <textSize>12</textSize>
  40.         <textStyle>plain</textStyle>
  41.         <textHeight>16</textHeight>
  42.         <name>Param1</name>
  43.         <script>on ReturnInFieldput the selectedChunk into SavedSelectionsend mouseUp to card button "Try It"select SavedSelectionend ReturnInFieldon EnterInFieldput the selectedChunk into SavedSelectionsend mouseUp to card button "Try It"select SavedSelectionend EnterInField</script>
  44.     </part>
  45.     <part>
  46.         <id>3</id>
  47.         <type>button</type>
  48.         <visible> <true /> </visible>
  49.         <reserved5> 0 </reserved5>
  50.         <reserved4> 0 </reserved4>
  51.         <reserved3> 0 </reserved3>
  52.         <reserved2> 0 </reserved2>
  53.         <reserved1> 0 </reserved1>
  54.         <enabled> <true /> </enabled>
  55.         <rect>
  56.             <left>394</left>
  57.             <top>5</top>
  58.             <right>411</right>
  59.             <bottom>235</bottom>
  60.         </rect>
  61.         <style>opaque</style>
  62.         <showName> <false /> </showName>
  63.         <highlight> <false /> </highlight>
  64.         <autoHighlight> <false /> </autoHighlight>
  65.         <sharedHighlight> <true /> </sharedHighlight>
  66.         <family>0</family>
  67.         <titleWidth>0</titleWidth>
  68.         <icon>0</icon>
  69.         <textAlign>center</textAlign>
  70.         <font>Chicago</font>
  71.         <textSize>12</textSize>
  72.         <textStyle>plain</textStyle>
  73.         <name></name>
  74.         <script></script>
  75.     </part>
  76.     <part>
  77.         <id>4</id>
  78.         <type>field</type>
  79.         <visible> <true /> </visible>
  80.         <dontWrap> <true /> </dontWrap>
  81.         <dontSearch> <true /> </dontSearch>
  82.         <sharedText> <false /> </sharedText>
  83.         <fixedLineHeight> <false /> </fixedLineHeight>
  84.         <autoTab> <false /> </autoTab>
  85.         <lockText> <false /> </lockText>
  86.         <rect>
  87.             <left>137</left>
  88.             <top>105</top>
  89.             <right>265</right>
  90.             <bottom>123</bottom>
  91.         </rect>
  92.         <style>rectangle</style>
  93.         <autoSelect> <false /> </autoSelect>
  94.         <showLines> <false /> </showLines>
  95.         <wideMargins> <false /> </wideMargins>
  96.         <multipleLines> <false /> </multipleLines>
  97.         <reservedFamily> 0 </reservedFamily>
  98.         <titleWidth>0</titleWidth>
  99.         <icon>0</icon>
  100.         <textAlign>left</textAlign>
  101.         <font>Geneva</font>
  102.         <textSize>12</textSize>
  103.         <textStyle>plain</textStyle>
  104.         <textHeight>16</textHeight>
  105.         <name>Param2</name>
  106.         <script>on ReturnInFieldsend mouseUp to card button "Try It"select text of meend ReturnInFieldon EnterInFieldsend mouseUp to card button "Try It"select text of meend EnterInField</script>
  107.     </part>
  108.     <part>
  109.         <id>5</id>
  110.         <type>button</type>
  111.         <visible> <true /> </visible>
  112.         <reserved5> 0 </reserved5>
  113.         <reserved4> 0 </reserved4>
  114.         <reserved3> 0 </reserved3>
  115.         <reserved2> 0 </reserved2>
  116.         <reserved1> 0 </reserved1>
  117.         <enabled> <true /> </enabled>
  118.         <rect>
  119.             <left>264</left>
  120.             <top>105</top>
  121.             <right>281</right>
  122.             <bottom>123</bottom>
  123.         </rect>
  124.         <style>rectangle</style>
  125.         <showName> <false /> </showName>
  126.         <highlight> <false /> </highlight>
  127.         <autoHighlight> <true /> </autoHighlight>
  128.         <sharedHighlight> <true /> </sharedHighlight>
  129.         <family>0</family>
  130.         <titleWidth>0</titleWidth>
  131.         <icon>18151</icon>
  132.         <textAlign>center</textAlign>
  133.         <font>Chicago</font>
  134.         <textSize>12</textSize>
  135.         <textStyle>plain</textStyle>
  136.         <name></name>
  137.         <script>on mouseDownget PopUpMenu("Volume[] Disk[] Drive[] -[] Directory[] folder[] -[] File[] Leaf[] -[] Parent[] -[] Path[] -[] Lines[]",8,the right of me)if item 1 of it is not 0thenput item 2 of it into card field "Param2"send MouseUp to card button "Try It"end ifend mouseDown</script>
  138.     </part>
  139.     <part>
  140.         <id>6</id>
  141.         <type>button</type>
  142.         <visible> <true /> </visible>
  143.         <reserved5> 0 </reserved5>
  144.         <reserved4> 0 </reserved4>
  145.         <reserved3> 0 </reserved3>
  146.         <reserved2> 0 </reserved2>
  147.         <reserved1> 0 </reserved1>
  148.         <enabled> <true /> </enabled>
  149.         <rect>
  150.             <left>314</left>
  151.             <top>102</top>
  152.             <right>389</right>
  153.             <bottom>124</bottom>
  154.         </rect>
  155.         <style>roundrect</style>
  156.         <showName> <true /> </showName>
  157.         <highlight> <false /> </highlight>
  158.         <autoHighlight> <true /> </autoHighlight>
  159.         <sharedHighlight> <true /> </sharedHighlight>
  160.         <family>0</family>
  161.         <titleWidth>0</titleWidth>
  162.         <icon>0</icon>
  163.         <textAlign>center</textAlign>
  164.         <font>Chicago</font>
  165.         <textSize>12</textSize>
  166.         <textStyle>plain</textStyle>
  167.         <name>Try It</name>
  168.         <script>on mouseUpput empty into card field "TheResult"Get card field "Param2"if it is emptythen get Pathlines(card field "Param1")else get Pathlines(card field "Param1", card field "Param2")if it is emptythen put "(The result is empty)" into card field "TheResult"else put it into card field "TheResult"end mouseUp</script>
  169.     </part>
  170.     <part>
  171.         <id>7</id>
  172.         <type>field</type>
  173.         <visible> <true /> </visible>
  174.         <dontWrap> <false /> </dontWrap>
  175.         <dontSearch> <true /> </dontSearch>
  176.         <sharedText> <false /> </sharedText>
  177.         <fixedLineHeight> <false /> </fixedLineHeight>
  178.         <autoTab> <false /> </autoTab>
  179.         <lockText> <false /> </lockText>
  180.         <rect>
  181.             <left>137</left>
  182.             <top>145</top>
  183.             <right>389</right>
  184.             <bottom>231</bottom>
  185.         </rect>
  186.         <style>scrolling</style>
  187.         <autoSelect> <false /> </autoSelect>
  188.         <showLines> <false /> </showLines>
  189.         <wideMargins> <true /> </wideMargins>
  190.         <multipleLines> <false /> </multipleLines>
  191.         <reservedFamily> 0 </reservedFamily>
  192.         <titleWidth>0</titleWidth>
  193.         <icon>0</icon>
  194.         <textAlign>left</textAlign>
  195.         <font>Geneva</font>
  196.         <textSize>12</textSize>
  197.         <textStyle>plain</textStyle>
  198.         <textHeight>16</textHeight>
  199.         <name>TheResult</name>
  200.         <script></script>
  201.     </part>
  202.     <content>
  203.         <layer>background</layer>
  204.         <id>22</id>
  205.         <text> Now You Try It                                </text>
  206.     </content>
  207.     <content>
  208.         <layer>background</layer>
  209.         <id>23</id>
  210.         <text></text>
  211.     </content>
  212.     <content>
  213.         <layer>card</layer>
  214.         <id>7</id>
  215.         <text>(The result is empty)</text>
  216.     </content>
  217.     <name></name>
  218.     <script>on openCardrepeat with FldNum = 1 to the number of card fieldsput empty into card field FldNumend repeatpass openCardend openCard</script>
  219. </card>
  220.  
  221.  
  222. card_8529.xml
  223. <?xml version="1.0" encoding="utf-8" ?>
  224. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  225. <card>
  226.     <id>8529</id>
  227.     <filler1>0</filler1>
  228.     <cantDelete> <false /> </cantDelete>
  229.     <showPict> <true /> </showPict>
  230.     <dontSearch> <false /> </dontSearch>
  231.     <owner>2690</owner>
  232.     <link rel="stylesheet" type="text/css" href="stylesheet_3288.css" />
  233.     <content>
  234.         <layer>background</layer>
  235.         <id>23</id>
  236.         <text><span class="style2"></span><span class="style6">Secret Feature ! ! !</span><span class="style2">Ok, so it's not really secret if I tell everyone openly about it, but there is a feature in Pathlines that has nothing directly to do with file pathnames and I wanted to label it as something different.If the second parameter given to Pathlines is a </span><span class="style20">single  </span><span class="style2">character, then Pathlines will scan the first parameter and replace all occurences of the given character with RETURN characters.  For example,</span><span class="style1"></span><span class="style3">      Get Pathlines("abc=def=hgi","=")</span><span class="style1"> </span><span class="style2">will return</span><span class="style1"></span><span class="style3">      abc      def      hgi</span><span class="style2">likewise:</span><span class="style1"></span><span class="style3">      Get Pathlines("++A???A@@@@","A")</span><span class="style2">will return</span><span class="style1"></span><span class="style3">      ++      ???      @@@@</span><span class="style2">In fact, this is how Pathlines performs both the "lines" and the "path" functions.  For the former, it scans the first parameter for colons and replaces them with RETURN characters, thus separating the pathname components into separate lines.  For the latter, it scans for RETURN characters and replaces them with colons.</span><span class="style6">Length of Pathnames:</span><span class="style2">Although most pathnames are fairly short (usually less than 100 characters),  Pathlines can handle up to 32,000 characters.  This is not necessary for pathnames, but might be useful if you use Pathlines for other kinds of data.</span><span class="style6">Compatibility:</span><span class="style2">Pathlines has only been tested With HyperCard 2.1, running under System 7.0, on a Macintosh 2.  However it should work with all versions of HyperCard, and all versions of the system software that HyperCard runs under.                        </span><span class="style3">- end of text -</span></text>
  237.     </content>
  238.     <content>
  239.         <layer>background</layer>
  240.         <id>22</id>
  241.         <text> Special Notes                                  </text>
  242.     </content>
  243.     <name></name>
  244.     <script></script>
  245. </card>
  246.  
  247.  
  248. card_6179.xml
  249. <?xml version="1.0" encoding="utf-8" ?>
  250. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  251. <card>
  252.     <id>6179</id>
  253.     <filler1>0</filler1>
  254.     <cantDelete> <false /> </cantDelete>
  255.     <showPict> <true /> </showPict>
  256.     <dontSearch> <false /> </dontSearch>
  257.     <owner>2690</owner>
  258.     <link rel="stylesheet" type="text/css" href="stylesheet_3288.css" />
  259.     <content>
  260.         <layer>background</layer>
  261.         <id>23</id>
  262.         <text><span class="style2">If the first parameter given to Pathlines is a pathname, and the second parameter is "</span><span class="style7">directory</span><span class="style2">" or "</span><span class="style7">folder</span><span class="style2">", then Pathlines will return only the directory portion of the pathname (it returns the pathname with the file name chopped off).  For example, </span><span class="style1"></span><span class="style3">      Get Pathlines("MyDisk:MyFolder:MyFile","folder")</span><span class="style1"> </span><span class="style2">will return</span><span class="style1">    "</span><span class="style3">MyDisk:MyFolder:"</span><span class="style2">This is useful whenever you need to get back to a specific folder; perhaps to save something there, or to find something there.  For example, HyperCard's Home stack has cards which list directories in which HyperCard will look for stacks, applications, and documents.</span><span class="style1"></span><span class="style2">                        </span><span class="style3">- end of text -</span></text>
  263.     </content>
  264.     <content>
  265.         <layer>background</layer>
  266.         <id>22</id>
  267.         <text> Get the Directory Path                       </text>
  268.     </content>
  269.     <name></name>
  270.     <script></script>
  271. </card>
  272.  
  273.  
  274. card_6751.xml
  275. <?xml version="1.0" encoding="utf-8" ?>
  276. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  277. <card>
  278.     <id>6751</id>
  279.     <filler1>0</filler1>
  280.     <cantDelete> <false /> </cantDelete>
  281.     <showPict> <true /> </showPict>
  282.     <dontSearch> <false /> </dontSearch>
  283.     <owner>2690</owner>
  284.     <link rel="stylesheet" type="text/css" href="stylesheet_3288.css" />
  285.     <content>
  286.         <layer>background</layer>
  287.         <id>23</id>
  288.         <text><span class="style2">If the first parameter given to Pathlines is a pathname, and the second parameter is "</span><span class="style7">parent</span><span class="style2">", then Pathlines will return the directory that is the parent of the last component of the pathname.  For example, </span><span class="style1"></span><span class="style3">      Get Pathlines("MyDisk:MyFolder:MyDisk","parent")</span><span class="style1"> </span><span class="style2">will return</span><span class="style1">    "</span><span class="style3">MyDisk:MyFolder:"</span><span class="style2">Likewise,</span><span class="style1"></span><span class="style3">      Get Pathlines("MyDisk:Folder1:Folder2:","parent")</span><span class="style1"> </span><span class="style2">will return</span><span class="style1">    "</span><span class="style3">MyDisk:Folder1:"</span><span class="style1"></span><span class="style2">                        </span><span class="style3">- end of text -</span></text>
  289.     </content>
  290.     <content>
  291.         <layer>background</layer>
  292.         <id>22</id>
  293.         <text> Get the Parent Directory              </text>
  294.     </content>
  295.     <name></name>
  296.     <script></script>
  297. </card>
  298.  
  299.  
  300. card_5901.xml
  301. <?xml version="1.0" encoding="utf-8" ?>
  302. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  303. <card>
  304.     <id>5901</id>
  305.     <filler1>0</filler1>
  306.     <cantDelete> <false /> </cantDelete>
  307.     <showPict> <true /> </showPict>
  308.     <dontSearch> <false /> </dontSearch>
  309.     <owner>2690</owner>
  310.     <link rel="stylesheet" type="text/css" href="stylesheet_3288.css" />
  311.     <content>
  312.         <layer>background</layer>
  313.         <id>22</id>
  314.         <text> Get the Volume Name                   </text>
  315.     </content>
  316.     <content>
  317.         <layer>background</layer>
  318.         <id>23</id>
  319.         <text><span class="style2">If the first parameter given to Pathlines is a pathname, and the second parameter is "</span><span class="style7">volume</span><span class="style2">" or "</span><span class="style7">disk</span><span class="style2">" or "</span><span class="style7">drive</span><span class="style2">", then Pathlines will return only the volume name portion of the pathname.  For example, </span><span class="style1"></span><span class="style3">      Get Pathlines("MyDisk:MyFolder:MyFile","volume")</span><span class="style1"> </span><span class="style2">will return</span><span class="style1">    "</span><span class="style3">MyDisk"</span><span class="style1"></span><span class="style2">                        </span><span class="style3">- end of text -</span></text>
  320.     </content>
  321.     <name></name>
  322.     <script></script>
  323. </card>
  324.  
  325.  
  326. card_6629.xml
  327. <?xml version="1.0" encoding="utf-8" ?>
  328. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  329. <card>
  330.     <id>6629</id>
  331.     <filler1>0</filler1>
  332.     <cantDelete> <false /> </cantDelete>
  333.     <showPict> <true /> </showPict>
  334.     <dontSearch> <false /> </dontSearch>
  335.     <owner>2690</owner>
  336.     <link rel="stylesheet" type="text/css" href="stylesheet_3288.css" />
  337.     <content>
  338.         <layer>background</layer>
  339.         <id>23</id>
  340.         <text><span class="style2">If the first parameter given to Pathlines is a pathname, and the second parameter is "</span><span class="style7">file</span><span class="style2">" or "</span><span class="style7">leaf</span><span class="style2">", then Pathlines will return only the file name portion of the  pathname.  For example, </span><span class="style1"></span><span class="style3">      Get Pathlines("MyDisk:MyFolder:MyFile","file")</span><span class="style1"> </span><span class="style2">will return</span><span class="style1">    "</span><span class="style3">MyFile"</span><span class="style1"></span><span class="style2">                        </span><span class="style3">- end of text -</span></text>
  341.     </content>
  342.     <content>
  343.         <layer>background</layer>
  344.         <id>22</id>
  345.         <text> Get the File Name                        </text>
  346.     </content>
  347.     <name></name>
  348.     <script></script>
  349. </card>
  350.  
  351.  
  352. card_6960.xml
  353. <?xml version="1.0" encoding="utf-8" ?>
  354. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  355. <card>
  356.     <id>6960</id>
  357.     <filler1>0</filler1>
  358.     <cantDelete> <false /> </cantDelete>
  359.     <showPict> <true /> </showPict>
  360.     <dontSearch> <false /> </dontSearch>
  361.     <owner>2690</owner>
  362.     <link rel="stylesheet" type="text/css" href="stylesheet_3288.css" />
  363.     <content>
  364.         <layer>background</layer>
  365.         <id>23</id>
  366.         <text><span class="style2">If the first parameter given to Pathlines has multiple lines, and the second parameter is "</span><span class="style7">path</span><span class="style2">", then Pathlines will convert the first parameter into a pathname and return this as the result.  For example, if the field "path parts" contains:</span><span class="style1"></span><span class="style3">      MyDisk      MyFolder      MyFile</span><span class="style1"> </span><span class="style2">then</span><span class="style1"></span><span class="style3">      Get Pathlines(field "path parts","path")</span><span class="style2">will return</span><span class="style1">    "</span><span class="style3">MyDisk:MyFolder:MyFile"</span><span class="style1"></span><span class="style2">                        </span><span class="style3">- end of text -</span></text>
  367.     </content>
  368.     <content>
  369.         <layer>background</layer>
  370.         <id>22</id>
  371.         <text> Convert Lines to a Pathname                           </text>
  372.     </content>
  373.     <name></name>
  374.     <script></script>
  375. </card>
  376.  
  377.  
  378. card_5697.xml
  379. <?xml version="1.0" encoding="utf-8" ?>
  380. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  381. <card>
  382.     <id>5697</id>
  383.     <filler1>0</filler1>
  384.     <cantDelete> <false /> </cantDelete>
  385.     <showPict> <true /> </showPict>
  386.     <dontSearch> <false /> </dontSearch>
  387.     <owner>2690</owner>
  388.     <link rel="stylesheet" type="text/css" href="stylesheet_3288.css" />
  389.     <content>
  390.         <layer>background</layer>
  391.         <id>22</id>
  392.         <text> Convert a Pathname to Lines                        </text>
  393.     </content>
  394.     <content>
  395.         <layer>background</layer>
  396.         <id>23</id>
  397.         <text><span class="style2">If the first parameter given to Pathlines is a pathname, and the second parameter is "</span><span class="style7">lines</span><span class="style2">" (or if there is </span><span class="style20">no</span><span class="style2">  second parameter), then Pathlines will disassemble the pathname, place each of its components on a separate line, and return this as the result.  For example,</span><span class="style1"></span><span class="style3">      Get Pathlines("MyDisk:MyFolder:MyFile")</span><span class="style2">or</span><span class="style1"></span><span class="style3">      Get Pathlines("MyDisk:MyFolder:MyFile","lines")</span><span class="style2">will return</span><span class="style1">    </span><span class="style3">MyDisk      MyFolder      MyFile</span><span class="style2">Now it is easy to deal with the components of the pathname.  For example:‚Ä¢ To get the disk name,</span><span class="style1">      </span><span class="style3">put the first line of it</span><span class="style2">‚Ä¢ To get the folder path,</span><span class="style1"></span><span class="style3">      delete the last line of it      put it</span><span class="style2">‚Ä¢ To get the file name,</span><span class="style1">      </span><span class="style3">put the last line of it</span><span class="style2">‚Ä¢ To find out how many folder levels deep the file is,</span><span class="style1">      </span><span class="style3">put the number of lines in it - 1</span><span class="style1"></span><span class="style2">                        </span><span class="style3">- end of text -</span></text>
  398.     </content>
  399.     <name></name>
  400.     <script></script>
  401. </card>
  402.  
  403.  
  404. card_5172.xml
  405. <?xml version="1.0" encoding="utf-8" ?>
  406. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  407. <card>
  408.     <id>5172</id>
  409.     <filler1>0</filler1>
  410.     <bitmap>BMAP_4506.pbm</bitmap>
  411.     <cantDelete> <false /> </cantDelete>
  412.     <showPict> <true /> </showPict>
  413.     <dontSearch> <false /> </dontSearch>
  414.     <owner>2690</owner>
  415.     <link rel="stylesheet" type="text/css" href="stylesheet_3288.css" />
  416.     <part>
  417.         <id>2</id>
  418.         <type>button</type>
  419.         <visible> <true /> </visible>
  420.         <reserved5> 0 </reserved5>
  421.         <reserved4> 0 </reserved4>
  422.         <reserved3> 0 </reserved3>
  423.         <reserved2> 0 </reserved2>
  424.         <reserved1> 0 </reserved1>
  425.         <enabled> <true /> </enabled>
  426.         <rect>
  427.             <left>184</left>
  428.             <top>132</top>
  429.             <right>335</right>
  430.             <bottom>154</bottom>
  431.         </rect>
  432.         <style>roundrect</style>
  433.         <showName> <true /> </showName>
  434.         <highlight> <false /> </highlight>
  435.         <autoHighlight> <true /> </autoHighlight>
  436.         <sharedHighlight> <true /> </sharedHighlight>
  437.         <family>0</family>
  438.         <titleWidth>0</titleWidth>
  439.         <icon>0</icon>
  440.         <textAlign>center</textAlign>
  441.         <font>Chicago</font>
  442.         <textSize>12</textSize>
  443.         <textStyle>plain</textStyle>
  444.         <name>Install Pathlines...</name>
  445.         <script>on mouseUpput empty into cd fld "InstallationResult"answer file "Install Pathlines into which stack?" of type "STAK"put it into DestStackif DestStack is empty then exit MouseUpRInstall "XFCN","Pathlines",DestStackput the result into RInstallResultif RInstallResult is emptythenget "Pathlines was successfully installed"put "into" && pathlines(DestStack, "file") into line 2 of itput it into cd fld "InstallationResult"HappyBeepelseget  "Sorry, Pathlines could not be installed"put "into" && pathlines(DestStack, "file") into line 2 of itput it into cd fld "InstallationResult"SadBeepend ifend mouseUp</script>
  446.     </part>
  447.     <part>
  448.         <id>3</id>
  449.         <type>field</type>
  450.         <visible> <true /> </visible>
  451.         <dontWrap> <false /> </dontWrap>
  452.         <dontSearch> <false /> </dontSearch>
  453.         <sharedText> <false /> </sharedText>
  454.         <fixedLineHeight> <false /> </fixedLineHeight>
  455.         <autoTab> <false /> </autoTab>
  456.         <lockText> <true /> </lockText>
  457.         <rect>
  458.             <left>123</left>
  459.             <top>175</top>
  460.             <right>392</right>
  461.             <bottom>229</bottom>
  462.         </rect>
  463.         <style>opaque</style>
  464.         <autoSelect> <false /> </autoSelect>
  465.         <showLines> <false /> </showLines>
  466.         <wideMargins> <false /> </wideMargins>
  467.         <multipleLines> <false /> </multipleLines>
  468.         <reservedFamily> 0 </reservedFamily>
  469.         <titleWidth>0</titleWidth>
  470.         <icon>0</icon>
  471.         <textAlign>center</textAlign>
  472.         <font>Geneva</font>
  473.         <textSize>9</textSize>
  474.         <textStyle>plain</textStyle>
  475.         <textHeight>12</textHeight>
  476.         <name>InstallationResult</name>
  477.         <script></script>
  478.     </part>
  479.     <content>
  480.         <layer>background</layer>
  481.         <id>22</id>
  482.         <text> Installing the Pathlines  XFCN                </text>
  483.     </content>
  484.     <content>
  485.         <layer>background</layer>
  486.         <id>23</id>
  487.         <text><span class="style2">Press the button below to have the Pathlines XFCN installed into the stack of your choice.</span></text>
  488.     </content>
  489.     <content>
  490.         <layer>card</layer>
  491.         <id>3</id>
  492.         <text>Pathlines was successfully installedinto PopUp XFCN v32 copy</text>
  493.     </content>
  494.     <name></name>
  495.     <script>on OpenCardput empty into cd fld "InstallationResult"pass OpenCardend OpenCard</script>
  496. </card>
  497.  
  498.  
  499. card_5474.xml
  500. <?xml version="1.0" encoding="utf-8" ?>
  501. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  502. <card>
  503.     <id>5474</id>
  504.     <filler1>0</filler1>
  505.     <cantDelete> <false /> </cantDelete>
  506.     <showPict> <true /> </showPict>
  507.     <dontSearch> <false /> </dontSearch>
  508.     <owner>2690</owner>
  509.     <link rel="stylesheet" type="text/css" href="stylesheet_3288.css" />
  510.     <content>
  511.         <layer>background</layer>
  512.         <id>22</id>
  513.         <text> What is a Pathname?                        </text>
  514.     </content>
  515.     <content>
  516.         <layer>background</layer>
  517.         <id>23</id>
  518.         <text><span class="style2">If you had to tell a </span><span class="style20">person</span><span class="style2">  where to find a file on your disk, you might say something like "Open the disk called 'MyDisk', and in that disk open the folder called 'Personal', then in that folder open the folder called 'Addresses', and in that folder is the file  called 'Friends'".What you have done is to describe the </span><span class="style20">path</span><span class="style2">  that someone must follow to get from the disk to the desired file.The way you tell a </span><span class="style20">computer</span><span class="style2">  what path to take is to join all the names together with colons, like this       MyDisk:Personal:Addresses:FriendsThis is is called the </span><span class="style20">pathname</span><span class="style2">  of the file "Friends".  It is sort of like the "full legal name" for a human.You can also have a partial pathname, for example      MyDisk:Personal:Addresses:which would be useful when you want to tell the computer what </span><span class="style20">folder</span><span class="style2">  to use for, say, saving all your incoming electronic mail.                        - end of text -</span></text>
  519.     </content>
  520.     <name></name>
  521.     <script></script>
  522. </card>
  523.  
  524.  
  525. card_4754.xml
  526. <?xml version="1.0" encoding="utf-8" ?>
  527. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  528. <card>
  529.     <id>4754</id>
  530.     <filler1>0</filler1>
  531.     <cantDelete> <false /> </cantDelete>
  532.     <showPict> <true /> </showPict>
  533.     <dontSearch> <false /> </dontSearch>
  534.     <owner>2690</owner>
  535.     <link rel="stylesheet" type="text/css" href="stylesheet_3288.css" />
  536.     <content>
  537.         <layer>background</layer>
  538.         <id>23</id>
  539.         <text><span class="style2">Your feedback is welcomed.  Bill logs onto CompuServe (user 70347, 2157), Genie (user XTA02570) and America Online (user Appleguy) several times a year.  He also logs onto Apple Computer's corporate AppleLink service weekly as FERNANDEZ1.                        </span><span class="style3">- end of text -</span></text>
  540.     </content>
  541.     <content>
  542.         <layer>background</layer>
  543.         <id>22</id>
  544.         <text> Your Feedback                                   </text>
  545.     </content>
  546.     <name></name>
  547.     <script></script>
  548. </card>
  549.  
  550.  
  551. card_4103.xml
  552. <?xml version="1.0" encoding="utf-8" ?>
  553. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  554. <card>
  555.     <id>4103</id>
  556.     <filler1>0</filler1>
  557.     <cantDelete> <false /> </cantDelete>
  558.     <showPict> <true /> </showPict>
  559.     <dontSearch> <false /> </dontSearch>
  560.     <owner>2690</owner>
  561.     <link rel="stylesheet" type="text/css" href="stylesheet_3288.css" />
  562.     <content>
  563.         <layer>background</layer>
  564.         <id>23</id>
  565.         <text><span class="style2"></span><span class="style6">Copyright Notice:</span><span class="style8"> </span><span class="style2">The Pathlines XFCN and this demonstration stack were written by Bill Fernandez and in technical terms are ‚Äú¬© Bill Fernandez 1991, all rights reserved.‚Äù  At the present time, no restriction is placed upon the distribution of these items, and permission is granted for any non-commercial use.This stack also contains and uses: ‚Ä¢ The RInstall XFCN from the Dartmouth XCMD collection version-3.4,  by Kevin Calhoun, ¬©1989 the Trustees of Dartmouth College.‚Ä¢ The PopupMenu XFCN v32, by Bill Fernandez, ¬© 1989 Apple Computer.</span><span class="style6">Warranty Notice:</span><span class="style8"> </span><span class="style2">The Pathlines XFCN and this demonstration stack are made available as a public service, and no warranty, either expressed or implied, is made.                         </span><span class="style3">- end of text -</span></text>
  566.     </content>
  567.     <content>
  568.         <layer>background</layer>
  569.         <id>22</id>
  570.         <text> Legal Notices                                    </text>
  571.     </content>
  572.     <name></name>
  573.     <script></script>
  574. </card>
  575.  
  576.  
  577. card_3992.xml
  578. <?xml version="1.0" encoding="utf-8" ?>
  579. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  580. <card>
  581.     <id>3992</id>
  582.     <filler1>0</filler1>
  583.     <bitmap>BMAP_7553.pbm</bitmap>
  584.     <cantDelete> <false /> </cantDelete>
  585.     <showPict> <true /> </showPict>
  586.     <dontSearch> <false /> </dontSearch>
  587.     <owner>2690</owner>
  588.     <link rel="stylesheet" type="text/css" href="stylesheet_3288.css" />
  589.     <content>
  590.         <layer>background</layer>
  591.         <id>22</id>
  592.         <text> Introduction                                      </text>
  593.     </content>
  594.     <content>
  595.         <layer>background</layer>
  596.         <id>23</id>
  597.         <text><span class="style2">This stack contains and explains the ‚ÄúPathlines‚Äù XFCN, which was designed to make life easier when dealing with file pathnames.</span><span class="style6">Pathlines can:</span><span class="style2">‚Ä¢ Disassemble a pathname and place each of its components on a separate line.‚Ä¢ Reverse the above; assembling a pathname from components given on separate lines.‚Ä¢ Return just the portion of a pathname that pertains to the volume (drive), directory (folder), file, or parent directory.</span><span class="style6">Release History:</span><span class="style2">‚Ä¢ 1-JUNE-91, version-13, first public release.                        </span><span class="style3">- end of text -</span></text>
  598.     </content>
  599.     <name></name>
  600.     <script></script>
  601. </card>
  602.  
  603.  
  604. card_3016.xml
  605. <?xml version="1.0" encoding="utf-8" ?>
  606. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  607. <card>
  608.     <id>3016</id>
  609.     <filler1>0</filler1>
  610.     <bitmap>BMAP_4937.pbm</bitmap>
  611.     <cantDelete> <false /> </cantDelete>
  612.     <showPict> <true /> </showPict>
  613.     <dontSearch> <false /> </dontSearch>
  614.     <owner>2690</owner>
  615.     <link rel="stylesheet" type="text/css" href="stylesheet_3288.css" />
  616.     <part>
  617.         <id>1</id>
  618.         <type>field</type>
  619.         <visible> <true /> </visible>
  620.         <dontWrap> <false /> </dontWrap>
  621.         <dontSearch> <false /> </dontSearch>
  622.         <sharedText> <false /> </sharedText>
  623.         <fixedLineHeight> <false /> </fixedLineHeight>
  624.         <autoTab> <false /> </autoTab>
  625.         <lockText> <true /> </lockText>
  626.         <rect>
  627.             <left>116</left>
  628.             <top>190</top>
  629.             <right>411</right>
  630.             <bottom>205</bottom>
  631.         </rect>
  632.         <style>opaque</style>
  633.         <autoSelect> <false /> </autoSelect>
  634.         <showLines> <false /> </showLines>
  635.         <wideMargins> <false /> </wideMargins>
  636.         <multipleLines> <false /> </multipleLines>
  637.         <reservedFamily> 0 </reservedFamily>
  638.         <titleWidth>0</titleWidth>
  639.         <icon>0</icon>
  640.         <textAlign>center</textAlign>
  641.         <font>Geneva</font>
  642.         <textSize>12</textSize>
  643.         <textStyle>plain</textStyle>
  644.         <textHeight>16</textHeight>
  645.         <name></name>
  646.         <script></script>
  647.     </part>
  648.     <content>
  649.         <layer>card</layer>
  650.         <id>1</id>
  651.         <text>version-13                              1-JUNE-91</text>
  652.     </content>
  653.     <content>
  654.         <layer>background</layer>
  655.         <id>23</id>
  656.         <text></text>
  657.     </content>
  658.     <name></name>
  659.     <script></script>
  660. </card>
  661.  
  662.  
  663.